package cn.itcast.bos.service.auth;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.itcast.bos.domain.auth.Role;

public interface RoleService {

	List<Role> findAllRoles();

	List<Role> findAllRolesByUserId(String id);

	void save(Role model, String functionIds);

	Page<Role> findAll(Pageable pageRequest);

}
